import React, {Component} from 'react';

/**
*  ERP权限控制插件
*/
export default class ErpAuth extends Component{
  constructor(props) {
     super(props);
     this.state = {
       authFlag:true
     }
  }

  render(){
    return(
      <span style={this.props.style}>
        {
          this.state.authFlag?
            this.props.children
          :
            null
        }
      </span>
    )
  }


}
